package com.hsylient.spring.service;

import com.hsylient.spring.entity.User;
import com.hsylient.spring.mapper.UserMapper;

public class UserService {

    private UserMapper userMapper;

    public UserService(UserMapper userMapper) {
        this.userMapper = userMapper;
    }


    public User getUserInfo() {
        return userMapper.getUserInfo();
    }
}
